package com.smart.sso.server.service;

import java.util.List;

import com.smart.mvc.service.mybatis.Service;
import com.smart.sso.server.model.UserGroup;

public interface UserGroupService extends Service<UserGroup, Integer> {
	
	public List<UserGroup> findByUserGroupId(Integer uid, Integer gid);
	
	public void allocate(Integer userId, UserGroup userGroup);
	
	public void deleteByGroupIds(List<Integer> idList);
	
	public void deleteByUserIds(List<Integer> idList);
}
